package com.chengcang.admin.modules.busi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * @author Zhanli xy321231@163.com
 * @since 1.0.0 2023-02-20
 */
@Data
@ApiModel(value = "")
public class BusiDemandProductSnapshotDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    private Long id;

    /**
     * 产品外键
     */
    @ApiModelProperty(value = "产品外键")
    private Long productId;

    @ApiModelProperty(value = "一级父节点")
    private Long firstParentId;

    @ApiModelProperty(value = "一级父节点name")
    private String firstParentName;

    @ApiModelProperty(value = "二级父节点")
    private Long secondParentId;

    @ApiModelProperty(value = "二级父节点name")
    private String secondParentName;

    @ApiModelProperty(value = "父id")
    private Long productTypeId;

    @ApiModelProperty(value = "产品名称")
    private String name;

    @ApiModelProperty(value = "产品编号")
    private String code;

    @ApiModelProperty(value = "规格")
    private String spec;

    @ApiModelProperty(value = "规格描述")
    private String specDesc;

    @ApiModelProperty(value = "图片链接")
    private String picUrl;

    @ApiModelProperty(value = "使用状态, 0:在使用, 1:停用")
    private Integer status;

    @ApiModelProperty(value = "使用状态描述, 0:在使用, 1:停用")
    private String statusDesc;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "备注信息")
    private String remark;

    @ApiModelProperty(value = "创建人员")
    private Long creator;

    @ApiModelProperty(value = "更新人员")
    private Long updater;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "更新时间")
    private Date updateDate;

    @ApiModelProperty(value = "0 有效 1 无效")
    private Integer deleted;


}